package tools.Project3.Group3.s12cs342;

import CloudDatabase.Project3.Group3.s12cs342.WriteScore;
import DataStructures.Project3.Group3.s12cs342.ScoreContainer;
import android.os.AsyncTask;

public class AsyncCloudScoreUp extends AsyncTask <Void,Void,Void>{
	
	String name;
	ScoreContainer sc;
	
	public AsyncCloudScoreUp(String name, ScoreContainer sc){
		this.name = name;
		this.sc = sc;
		
	}
	
	@Override
	protected Void doInBackground(Void... params) {
		
		WriteScore.sendData(name, sc);
		
		return null;
	}
	
}
